// CountryService.java (服务接口)
package com.ywb.service;

import com.ywb.pojo.Country;
import com.ywb.pojo.CountryQueryParam;
import com.ywb.pojo.PageResult;

import java.util.List;

public interface CountryService {
    List<Country> findAll();

    void deleteById(Integer id);

    void add(Country country);

    Country getById(Integer id);

    void update(Country country);

    PageResult<Country> page(CountryQueryParam countryQueryParam);
}